package lab02.test06;

public class Ladder {
    double upBase;
    double downBase;
    double height;
    double area;

    double area(){
        return (upBase+downBase)*height/2;
    }
}
